package com.ruoyi.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * Cron类型的触发器表
 * </p>
 *
 * @author lh
 * @since 2025-01-16
 */
public class Qrtz_cron_triggers implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 调度名称
     */
    @TableId(value = "sched_name", type = IdType.AUTO)
    private String sched_name;

    /**
     * qrtz_triggers表trigger_name的外键
     */
    private String trigger_name;

    /**
     * qrtz_triggers表trigger_group的外键
     */
    private String trigger_group;

    /**
     * cron表达式
     */
    private String cron_expression;

    /**
     * 时区
     */
    private String time_zone_id;


    public String getSched_name() {
        return sched_name;
    }

    public void setSched_name(String sched_name) {
        this.sched_name = sched_name;
    }

    public String getTrigger_name() {
        return trigger_name;
    }

    public void setTrigger_name(String trigger_name) {
        this.trigger_name = trigger_name;
    }

    public String getTrigger_group() {
        return trigger_group;
    }

    public void setTrigger_group(String trigger_group) {
        this.trigger_group = trigger_group;
    }

    public String getCron_expression() {
        return cron_expression;
    }

    public void setCron_expression(String cron_expression) {
        this.cron_expression = cron_expression;
    }

    public String getTime_zone_id() {
        return time_zone_id;
    }

    public void setTime_zone_id(String time_zone_id) {
        this.time_zone_id = time_zone_id;
    }

    @Override
    public String toString() {
        return "Qrtz_cron_triggers{" +
        "sched_name=" + sched_name +
        ", trigger_name=" + trigger_name +
        ", trigger_group=" + trigger_group +
        ", cron_expression=" + cron_expression +
        ", time_zone_id=" + time_zone_id +
        "}";
    }
}
